#ifndef __LOOP_QUEUE_H__
#define __LOOP_QUEUE_H__

#define N 10

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

typedef struct _Queue
{
    int data[N];
    int front;
    int rear;
}queue_t;

int create_queue(queue_t **p);
int clean_queue(queue_t *my_queue);
int destory_queue(queue_t *my_queue);
int is_full(queue_t *my_queue);
int push_queue(queue_t *my_queue,int num);
int is_empty(queue_t *my_queue);
int pop_queue(queue_t *my_queue,int *buff);
int print_queue(queue_t *my_queue);


#endif